﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using GSLMS.Entity;
namespace GSLMS.Services.Interface
{
    /// <summary>
    /// 接口说明:TB_SYS_USERPRIV接口
    /// </summary>
    [ServiceContract(Name = "ISYS_USERPRIV", Namespace = "http://www.gslms.com/")]
    public interface ISYS_USERPRIV : IBase<TB_SYS_USERPRIV>
    {
        /// <summary>
        /// 删除一条数据
        /// </summary>
        /// <param name="EmpID">职员记录ID</param>
        /// <param name="userName">用户名</param>
        /// <param name="roleID">角色记录ID</param>
        /// <returns></returns>
        [OperationContract]
        bool DeleteByEmpID(long EmpID, string userName, long roleID);

        [OperationContract]
        bool Add(List<TB_SYS_USERPRIV> model);

    }
}
